package com.chaos.eurekaproducer.utils;

/**
 * @author liaopeng
 * @title: MyExceptionHandler
 * @projectName eureka-producer
 * @description: TODO
 * @date 2021/5/25上午11:34
 */
public class MyExceptionHandler implements Thread.UncaughtExceptionHandler{
    @Override
    public void uncaughtException(Thread t, Throwable e) {
        System.out.println("捕获异常："+e.getMessage());
    }
}
